package cn.net.cfss.fgbp.provider.console.impl;

import cn.net.cfss.fgbp.api.console.dto.IntentionDto;
import cn.net.cfss.fgbp.api.console.inte.IIntentionService;
import cn.net.cfss.fgbp.api.console.vo.IntentionVo;
import cn.net.cfss.fgbp.provider.console.biz.IntentionDtoBiz;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@Slf4j
public class IntentionServiceImpl implements IIntentionService {

    @Autowired
    IntentionDtoBiz biz;

    @Override
    public List<IntentionDto> queryIntention(IntentionVo vo) {
        return biz.queryIntention(vo);
    }
}
